package xyz.zhouzhaodong.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import xyz.zhouzhaodong.crm.dto.ExpensesDto;
import xyz.zhouzhaodong.crm.dto.PayrollDto;
import xyz.zhouzhaodong.crm.entity.Expenses;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 费用支出 Mapper 接口
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-07-03
 */
public interface ExpensesMapper extends BaseMapper<Expenses> {

    /**
     * 分页查询
     * @param expensesDto
     * @param page
     * @return
     */
    IPage<ExpensesDto> selectExpenses(@Param("expensesDto") ExpensesDto expensesDto, Page<ExpensesDto> page);

}
